package com.example.mallmanagement.mapper;

import com.example.mallmanagement.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderMapper {

    @Select("select * from tb_order where userid = #{userId, jdbcType=INTEGER};")
    List<Order> selectOrder(Integer userId);
}
